package cn.xn.hrms.infrastructure.dao;

import java.util.Collection;
import java.util.List;

import org.apache.ibatis.annotations.Param;

import cn.xn.hrms.api.dto.res.RecruitmentDTO;
/**
 * @author ysz
 */
public interface RecruitmentDao {

    int insertSelective(RecruitmentDTO record);

    RecruitmentDTO selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(RecruitmentDTO record);

    List<RecruitmentDTO> selectAll(@Param("departmentId") Integer departmentId, @Param("recruitStatus") Integer recruitStatus);

    int updateIsDeletedByIdIn(@Param("updatedIsDeleted")Integer updatedIsDeleted,@Param("idCollection")Collection<Integer> idCollection);


}
